package com.atguigu.video.service;

import com.aliyuncs.exceptions.ClientException;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface VodService {
    //上传视频到阿里云
    String uploadVideoAly(MultipartFile file);

    void removeVideo(String videoId);

    void removeVideoByIds(List<String> sourceIds);

    String getUploadVideoTitleBySourceId(String sourceId) throws ClientException;
}
